package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.SysHomeownerProperty;

/**
 * 房东房源id关联表Mapper接口
 * 
 * @author ssd
 * @date 2024-03-25
 */
public interface SysHomeownerPropertyMapper 
{
    /**
     * 查询房东房源id关联表
     * 
     * @param homeownerId 房东房源id关联表主键
     * @return 房东房源id关联表
     */
    public SysHomeownerProperty selectSysHomeownerPropertyByHomeownerId(Long homeownerId);

    /**
     * 查询房东房源id关联表列表
     * 
     * @param sysHomeownerProperty 房东房源id关联表
     * @return 房东房源id关联表集合
     */
    public List<SysHomeownerProperty> selectSysHomeownerPropertyList(SysHomeownerProperty sysHomeownerProperty);

    /**
     * 新增房东房源id关联表
     * 
     * @param sysHomeownerProperty 房东房源id关联表
     * @return 结果
     */
    public int insertSysHomeownerProperty(SysHomeownerProperty sysHomeownerProperty);

    /**
     * 修改房东房源id关联表
     * 
     * @param sysHomeownerProperty 房东房源id关联表
     * @return 结果
     */
    public int updateSysHomeownerProperty(SysHomeownerProperty sysHomeownerProperty);

    /**
     * 删除房东房源id关联表
     * 
     * @param homeownerId 房东房源id关联表主键
     * @return 结果
     */
    public int deleteSysHomeownerPropertyByHomeownerId(Long homeownerId);

    /**
     * 批量删除房东房源id关联表
     * 
     * @param homeownerIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSysHomeownerPropertyByHomeownerIds(Long[] homeownerIds);
}
